import { Module } from '@nestjs/common';
import { SalaryService } from './salary.service';
import { SalaryController } from './salary.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Salary } from './Salary.entity';
import { UserModule } from 'src/user/user.module';
import { WorkModule } from 'src/work/work.module';
import { DeductionModule } from 'src/deduction/deduction.module';
import { AttendanceModule } from 'src/attendance/attendance.module';

@Module({
  imports: [
    TypeOrmModule.forFeature([Salary]),
    UserModule,
    WorkModule,
    DeductionModule,
    AttendanceModule
  ],
  providers: [SalaryService],
  controllers: [SalaryController]
})
export class SalaryModule { }
